package com.electronsys.emp.dao;

import java.util.List;

import com.electronsys.pojo.Department;
import com.electronsys.pojo.Employee;
import com.electronsys.pojo.Log;



public interface EmpDao {

	
	public List<Employee> queryForPage(final String hql,final int offset,final int length);
	public int getAllRowCount(String hql);
	public Employee empInfor(Integer empId);
	public void addNewEmp(Employee emp);
	public List<Department> deptList();
	public List<Employee> findEmp(Integer empId,String empName,Integer deptId, String empSytle );
	public boolean deletEmp(Integer[] check);
	public boolean logEmp(Log log);
	public boolean updateEmp(Employee emp);
}
